package com.chucang.shucang.pms.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chucang.shucang.common.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 盲盒商城表
 *
 * @author flitsneak flitsneak@gmail.com
 * @since 1.0.0 2022-09-12
 */
@Data
@TableName("pms_blind_box_mall")
public class BlindBoxMallEntity extends BaseEntity implements Serializable {

    /**
     * 卖家id
     */
    private Long sellerId;
    /**
     * 盲盒id
     */
    private Long bbId;
    /**
     * 藏品编号
     */
    private Integer serialNum;
    /**
     * 购入价格
     */
    private BigDecimal purchasePrice;
    /**
     * 售价
     */
    private BigDecimal sellingPrice;
    /**
     * 当前状态 0寄售中 1被锁定 2已售出 3取消寄售
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer status;
}